package com.hll.spring_book.pojo;

import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * (Borrow)实体类
 *
 * @author makejava
 * @since 2021-03-30 13:54:08
 */
@Setter
@Getter
@NoArgsConstructor
@ToString
@AllArgsConstructor
public class Borrow implements Serializable {
  private static final long serialVersionUID = -62089695227514284L;

  private Integer id;

  private Integer userId; // 用户id

  private Integer bookId; // 书籍id

  private Date borrowTime; // 借书时间

  private Date returnTime; // 还书时间

  private Boolean status; // 状态, true-已还,false-未还
}
